package com.baizhi.dto;

import cn.afterturn.easypoi.excel.annotation.*;
import com.baizhi.entity.Menu;
import lombok.Data;

import java.util.List;

/**
 * Created by Administrator on 2019/4/3.
 */
@Data
@ExcelTarget("MenuDto")
public class MenuDto {
    @Excel(name = "一级菜单编号")
    private Integer menuId;
    @Excel(name = "一级菜单名字")
    private  String menuName;
    @ExcelIgnore
    private  String menuUrl;
    @ExcelIgnore
    private  Integer menuParentId;
    @ExcelCollection(name = "二级菜单")
    private List<Menu> children;
}
